import { PureComponent } from "react";

interface Props {
	url: string,
	style?: object
}
interface State {

}
export default class MiImage extends PureComponent<Props, State> {
	public state: State = {

	}

	render() {
		let { url, style } = this.props;
		return (
			<div>
				<img style={{ width: "100%", ...style }} src={url} alt="" />
			</div>
		)
	}
}